import request from '@/utils/axios'

const host1 = 'https://api.vvhan.com/'
const host2 = 'https://api.apiopen.top/'
const url = 'http://localhost:9999/'

/**登录 */
export const login = (params) => {
  console.log(params)
  return request.post(host2 + 'api/login', params)
}

export const imageList = (params) => {
  return request.get(host2 + 'api/getImages', { params })
}
